Repository navigation
trystero: a page relay's connection allocates nothing outside the room's resource for its resolution - #7
Merged
Conversation
…m's resource for its resolution, which webcpp::asio's page resolver now holds in place platform_page_relay_allocation expects no operator new at a connection's open, for a short host and a long one; the guide, the guarantees and the platform's notes no longer list the resolver's results, and say that embind's strings of each event's type stay.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
A page relay's connection no longer allocates outside the room's resource for its resolution.
webcpp::asio's page resolver now holds its results' one entry in place (webcpporg/asio#7), so that resolving the relay's host allocates nothing. Until then, Boost's results allocated with
newonce per relay connection, the one allocation a room still made outside its resource in a page, besides embind's strings.platform_page_relay_allocationexpects nooperator newat a connection's open, for a short host and a long one, where it expected the resolver's.doc/allocation.adoc), the guarantees and the platform's notes no longer list the resolver's results. They say that embind's strings of each event's type stay, as the owner decided.platform/websocket.hpp: two comments say the same.The change is in the tests and the documentation alone, so the changelog is unchanged.
Verified locally
platform_page_relay_allocationand its no-exceptions variant on emscripten, with webcpp::asio's merged main.🤖 Generated with Claude Code